---
title: stats.Histogram()
api: stats.Histogram.new
---

## Description

<Summary/>

## Syntax

``` js
new stats.Histogram(name, [...buckets])
new stats.Histogram(name, [...buckets], [...labelNames])
```

## Parameters

<Parameters/>

## See Also

* [stats.Histogram](/reference/api/stats/Histogram)
